import fly from '../http/index'
export default {
  getData(api){
    return fly.get('http://127.0.0.1:7001'+api)
  },
  postData(api,data,header){
    if (api != undefined) {
      return fly.post('http://127.0.0.1:7001'+api,{data,header})
    }
  }
}

    
